package com.fowo.api.pda.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.entity.StockIn;
import com.fowo.api.pda.model.PdaPutawayVo;
import com.fowo.api.pda.model.ProductInventoryVo;
import com.fowo.api.pda.model.PutawayParamPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PdaPutawayMapper extends BaseMapper<StockIn> {

    Page<PdaPutawayVo> pageSearch(
            @Param("page") Page page,
            @Param("search") PutawayParamPo search);

    PdaPutawayVo selectInfo(Long id);

    List<String> selectRecommendBin(Long stockId,String sku,Long shopId,String fnsku);

    List<ProductInventoryVo> selectProductInventoryVoBySku(Long binId, String sku);
}
